//
//  LCYDownloadManager.h
//  EPA
//
//  Created by lanou3g on 16/4/27.
//  Copyright © 2016年 liu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MusicDownloadTask.h"
#import "LCYRadioDetailModel.h"
@interface LCYDownloadManager : NSObject

@property (nonatomic,strong) NSMutableArray *downloadArray;

/// 添加下载任务
- (void)addDownloadTask:(LCYRadioDetailModel *)model Progress:(ProgressBlock)proBlock Complate:(ComplateBlock)comBlock;

/// 单例
+ (instancetype)shareDownload;

/// 当前下载任务个数
- (NSInteger)count;
/// 取cell的标题
- (NSString *)getTitleWithIndex:(NSInteger)index;
/// 设置block
- (void)setProgressBlock:(ProgressBlock)proBlock ComplateBlock:(ComplateBlock)comBlock Index:(NSInteger)index;


@end
